LEGION Model Builder Help

Checking for errors

At any time during the building of a model, you can check your work for errors by using the QA (Quality Assurance) tool. This tool checks all the objects, Entities and data in your model for missing data, links, properties, etc. and presents the results in the ‘QA’ tab of the Output Bar. A QA check is also performed whenever you try to export a model (‘lgm’) file as an ‘ora’ file.

Note: You must fix errors before you attempt to export your model as an ‘ora’ file for simulation; you should heed warnings but overlooking them will not prevent exporting as an ‘ora’ file.

Results are classified as Information, Warnings or Errors. Right-click on the ‘QA’ tab to change whether it displays Information, Warnings or Errors.

All ‘ticked’ information types will be displayed. Click alongside each to add or remove the ticks.

To check your model for errors:

  1. Click or select Data > QAModel.

    The number of errors or warnings is displayed in the ‘Information’ tab of the Output Bar, for example:

    “QA completed with 4 error(s), no warning(s)”

    If errors are found, a message stating Model Contains Errors is displayed.

  2. Click the OK button.

    The ‘QA’ tab of the Output Bar is displayed and lists all errors, warnings or information.

    Where appropriate, these messages are hyperlinked to the objects they refer to. If so, when you move the cursor over a message, it will change to a ‘pointing hand’. Click one of these messages to open the ‘Edit Properties’ dialog box of the object containing the error. This will enable you to fix the problem by changing object properties.

    Tip: Right-clicking on an object’s name in the Output Bar will also offer you the option to ‘Delete’ the object.
  3. Fix any errors.
  4. Rerun the QA check to check that you have successfully fixed any errors.